Piwik\Plugin\Report D

Total Complexity 140
Dependencies 19
Dependents 15
Total lines 976
Lines of code 402
Logical lines of code 237
Comment lines 352
Methods 51
Properties 22

Methods 51

Method Rating Maintainability Complexity Lines of code
getMetricsDocumentation()
A
48 16 34
buildReportMetadata()
A
43 13 46
getProcessedMetricsById()
A
59 9 12
getMetricSemanticTypes()
S
59 8 12
getMetricsRequiredForReport()
S
55 6 20
processedMetricDfs()
S
56 6 17
getThirdLeveltableDimension()
S
57 5 16
deduceMetricTypeFromName()
S
57 5 16
getMetricsForTable()
S
59 5 14
getDimensions()
S
58 4 16
getForDimension()
S
62 5 10
getMetricTranslations()
S
58 4 15
getSubtableDimension()
S
62 3 11
getId()
S
63 3 10
configureReportMetadata()
S
66 3 9
configureWidgets()
S
73 3 5
render()
S
59 2 13
getSubtableApiMethod()
S
68 2 7
getDefaultSortOrder()
S
73 2 6
__construct()
S
64 2 9
getProcessedMetrics()
S
72 2 6
checkIsEnabled()
S
73 2 5
getAllMetrics()
S
74 2 4
supportsFlatten()
S
82 1 3
getRowIdentifier()
S
82 1 3
isEnabled()
S
82 1 3
getProcessedMetricsForTable()
S
66 1 8
getDefaultTypeViewDataTable()
S
82 1 3
alwaysUseDefaultViewDataTable()
S
82 1 3
configureView()
S
91 1 2
getRecursiveLabelSeparator()
S
82 1 3
fetchSubtable()
S
71 1 5
fetch()
S
78 1 3
isSubtableReport()
S
82 1 3
getMetrics()
S
80 1 3
getOrder()
S
82 1 3
getActionToLoadSubTables()
S
82 1 3
getDocumentation()
S
82 1 3
getDimension()
S
82 1 3
getSubcategoryId()
S
82 1 3
getCategoryId()
S
82 1 3
getParameters()
S
82 1 3
getAction()
S
82 1 3
getModule()
S
82 1 3
getName()
S
82 1 3
getRelatedReports()
S
82 1 3
init()
S
91 1 2
getMetricNamesToProcessReportTotals()
S
82 1 3
getDefaultSortColumn()
S
82 1 3
hasGoalMetrics()
S
82 1 3
getSecondarySortColumnCallback()
S
82 1 3